/**
 * 查询对象类型
 */
export interface DoTaskQuery extends PageQuery {
  title?: string;
  type?: number;
  is_hid?: number;
}

/**
 * 分页对象
 */
export interface DoTaskPage {
  id?: number;
  title?: string;
  type?: number;
  color?: string;
  urgency?: number;
  urgency_name?: string;
  end_time?: Date;
  end_day?: number;
  is_done?: number;
  created_at?: Date;
  avatar?: string;
  nickname?: string;
  template_id?: string;
  org_name?: string;
  status_d?: string;
  reason?: string;
}

/**
 * 表单类型
 */
export interface DoTaskForm {
  id?: number;
  title?: string;
  type?: number;
  color?: string;
  urgency?: number;
  end_time?: Date;
  is_done?: number;
  created_at?: Date;
  avatar?: string;
  nickname?: string;
  template_id?: string;
}

export interface DoTaskOptions {
  value?: number;
  label?: string;
}
